<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>jquery.zclip.js jquery剪贴板插件</title>
</head>
<script src="http://www.qlcoder.com//js/jquery.min.js"></script>
<script src="/js/jquery.zclip.min.js"></script>
<script>
    $(function () {
        $('.aa').zclip({path:'/js/ZeroClipboard.swf', copy: function () {
				console.log($(this));
				return $(this).next().html(); } });
    });
</script>
<body>
<a href="javascritp:;" class='aa' >拷贝1</a>
<p id="p1">拷贝内容1拷贝内容1拷贝内容1</p>
<a rel="#p2" class='aa'>拷贝2</a>
<p id="p2">拷贝内容2
拷贝内容2</p>
<a rel="#p3" class='aa'>拷贝3</a>
<p id="p3">拷贝内容3
拷贝内容3</p>
</body>
</html>
